//Debug
function debug($obj) {
	ob_start(); ?>
	<pre class="debug">
			<?php print_r($obj) ?>
		</pre>
	<?php return ob_get_clean();
}